import { ref } from 'vue'
import { defineStore } from 'pinia'
import { getCategoryAPI } from '@/apis/layout'
export const useLayoutstore = defineStore('big-counter', () => {
  const list = ref([])
  const getCategory = async () => {
    const { data: { result }} = await getCategoryAPI()
    list.value = result

  }
  return { list, getCategory }
})
